home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10488 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  996 b 

  1. Path: news.itsyd.bhp.com.au!news
  2. From: Richard Bowen <bowen.richard.rw@bhp.com.au>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Desperate, and Dumb!!!
  5. Date: Fri, 08 Mar 1996 17:46:49 +1000
  6. Organization: BHP IT
  7. Message-ID: <313FE5E9.6FA5@bhp.com.au>
  8. References: <313E0301.15FB7483@leeds.ac.uk>
  9. NNTP-Posting-Host: 134.18.154.118
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. I think you have a few more errors than are detected, but a
  16. likely cause of your problems is two definitions for class
  17. ActionItem.
  18.  
  19. Take the first one out and see what happens.
  20.  
  21. Richard
  22. bowen.richard.com.au@bhp.com.au
  23.  
  24.  
  25.  
  26. Stephen Davison wrote:
  27. > //typedef void (*PtrVoidFunction)() ;
  28. > //
  29. > template <class any>
  30. > class ActionItem : public MenuItem
  31. > {
  32. > protected:
  33.  
  34.  
  35. > }
  36. > //typedef void (*PtrVoidFunction)() ;
  37. > //
  38. > template <class any>
  39. > class ActionItem : public MenuItem
  40. > {
  41. > protected:
  42. >         typedef void (*PtrVoidFunction)(any);
  43.